package com.zzu.icukangfu.service;

import com.zzu.icukangfu.entity.User;

public interface UserService {
	/**
	 * 用户登录
	 * 
	 * @param user
	 * @return
	 */
	public User login(User user);

	/**
	 * 用户注册
	 * 
	 * @param user
	 * @param role
	 * @return
	 */
	public boolean register(User user, String role);
}
